import { defineStore } from 'pinia'

export const useWorkstationBoardStore = defineStore('workstationBoard', {
    state: () => ({
        selectedStationId: '',
    }),
    actions: {
        // 定义修改状态的方法
        setSelectedStation(stationId) {
            this.selectedStationId = stationId
        },
    },
    persist: true,
})
